var Cloading = function () { }
//在页面未加载完毕之前显示的loading Html自定义内容
// var _LoadingHtml = '<div id="___CustomloadingDiv" style="display: none; "><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #f5f5f5;opacity:0.5;z-index: 1000;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%;  z-index: 1001;text-align:center;"><img src="/js/plugins/layer/skin/default/loading-0.gif" /></div></div>';
var _LoadingHtml = '<div id="___CustomloadingDiv" style="display: none; "><div class="CustomLoadingShade"></div><div class="CustomLoadingLayout"><div class="CustomLoadingSpinner"></div></div></div>';

//呈现loading效果
document.write(_LoadingHtml);

//移除loading效果
Cloading.hide = function () {
    document.getElementById("___CustomloadingDiv").style.display = "none";
}
//展示loading效果
Cloading.show = function () {
    document.getElementById("___CustomloadingDiv").style.display = "block";
}


